import http from '../utils/request'
// 发帖子
export const sendMessage = (body) => {
  // console.log(body)
  return http.post('/sendMessage', body)
}
// 获取帖子
export const getMessage = (body) => {
  // console.log(body)
  return http.post('/getMessage', body)
}
// 详细帖子信息
export const openInfoLook = (body) => {
  // console.log(body)
  return http.post('/openInfoLook', body)
}
// 收藏
export const collectInfo = (body) => {
  // console.log(body)
  return http.post('/collectInfo', body)
}
// 取消收藏
export const cancelCollInfo = (body) => {
  // console.log(body)
  return http.post('/cancelCollInfo', body)
}

// 删除帖子
export const deleteMessage = (body) => {
  // console.log(body)
  return http.post('/deleteMessage', body)
}
// 添加公告信息
export const addOpenInfo = (body) => {
  // console.log(body)
  return http.post('/addOpenInfo', body)
}
// 删除公告
export const deleteOpenInfo = (body) => {
  // console.log(body)
  return http.post('/deleteOpenInfo', body)
}
// 删除轮播图
export const deletePicInfo = (body) => {
  // console.log(body)
  return http.post('/deletePicInfo', body)
}

// 删除新闻资讯
export const deleteNews = (body) => {
  // console.log(body)
  return http.post('/deleteNews', body)
}

// 添加新闻
export const addNews = (body) => {
  // console.log(body)
  return http.post('/addNews', body)
}
// 添加轮播信息
export const addPicInfo = (body) => {
  // console.log(body)
  return http.post('/addPicInfo', body)
}
// 获取信息公告
export const getOpenInfo = (body) => {
  // console.log(body)
  return http.post('/getOpenInfo', body)
}
// 获取新闻资讯
export const getNews = (body) => {
  // console.log(body)
  return http.post('/getNews', body)
}
// 获取轮播信息
export const getCarouselPic = (body) => {
  // console.log(body)
  return http.post('/getCarouselPic', body)
}
// 获取短信验证码
export const dxCheck = (body) => {
  // console.log(body)
  return http.post('/dxCheck', body)
}
// 修改密码
export const upYouPass = (body) => {
  // console.log(body)
  return http.post('/upYouPass', body)
}
// 上传简历
export const upNotes = (body) => {
  // console.log(body)
  return http.post('/upNotes', body)
}
// 删除简历
export const deleteNotes = (body) => {
  // console.log(body)
  return http.post('/deleteNotes', body)
}
// 上传材料前
export const beforeEvidence = (body) => {
  // console.log(body)
  return http.post('/beforeEvidence', body)
}
// 审核认证信息
export const checkEvidence = (body) => {
  // console.log(body)
  return http.post('/checkEvidence', body)
}
// 申请解除
export const unbinding = (body) => {
  // console.log(body)
  return http.post('/unbinding', body)
}
// 学校解除
export const makeBinding = (body) => {
  // console.log(body)
  return http.post('/makeBinding', body)
}
// 获取图书信息
export const getBookInfo = (body) => {
  // console.log(body)
  return http.post('/getBookInfo', body)
}
// 删除图书
export const deleteXs = (body) => {
  // console.log(body)
  return http.post('/deleteXs', body)
}
// 获取更多的学校详细信息
export const getSchoolMoreInfo = (body) => {
  // console.log(body)
  return http.post('/getSchoolMoreInfo', body)
}
// 轮播图状态
export const carouselStatus = (body) => {
  // console.log(body)
  return http.post('/carouselStatus', body)
}
// 接收轮播修改
export const editCarouselPic = (body) => {
  // console.log(body)
  return http.post('/editCarouselPic', body)
}
// 修改公告内容
export const editOpenInfo = (body) => {
  // console.log(body)
  return http.post('/editOpenInfo', body)
}
// 获取评论
export const getCommentInfo = (body) => {
  // console.log(body)
  return http.post('/getCommentInfo', body)
}
// 删除评价
export const deleteComment = (body) => {
  // console.log(body)
  return http.post('/deleteComment', body)
}
